File Names
File Names represents the name of the file to be opened. The rules for resolving the name of the file are described below.
1. If
File starts with "-F", all file operations are executed on the physical file indicated in
File. -F causes the file name to be used as is, without applying
iscobol.file.prefix and
iscobol.file.suffix to it.
2. If
File starts with "-E " or if
iscobol.file.env_naming (boolean) is set to true, then
File contains the name of a configuration property that defines the physical name of the file. Use the $ prefix if the configuration property maps a part of the file path instead of mapping the file name. If the no configuration property is found, the framework looks for a mapping in the system environment variables. By default, only upper case system variables are considered; set
iscobol.file.env_toupper (boolean) to false to force a case sensitive search when working on case sensitive systems like Linux. Here are a couple of examples: